<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>人才储备库</title>
    <%@ include file="/WEB-INF/views/commons/common.jsp"%>
    <script type="text/javascript" src="/static/js/system/recruitInformation.js"></script>
</head>
<body>
    <%--数据表格--%>
    <table id="recruit_datagrid" fit="true"></table>


    <%--表格工具栏--%>
    <div id="tb">
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
        <div>
            开始日期:<input class="easyui-datebox" name="beginTime" id="beginTime"/>
            结束日期:<input class="easyui-datebox" name="endTime" id="endTime"/>
            <a href="javascript:;" class="easyui-linkbutton" data-cmd="searchT" data-options="iconCls:'icon-search',plain:true">查询</a>
        </div>
    </div>
    <%--添加和编辑弹窗--%>
    <div id="edit_dialog" align="center">
                <form id="edit_form" method="post">
                    <input type="hidden" id="recId" name="id">
                    <table align="center" style="margin-top: 20px;
                border-collapse:separate; border-spacing:0px 10px;">
                        <tr>
                            <td>应聘人姓名:</td>
                            <td><input class="easyui-textbox" name="username" /></td>
                            <td>应聘职位:</td>
                            <td><input class="easyui-textbox" name="job"/></td>
                        </tr>
                        <tr>
                            <td>学历:</td>
                            <td><input class="easyui-combobox" name="education.id" data-options="
                                editable:false,
                                url:'/dictionaryItem/getDictionaryItemByParentName.do?content='+'学历',
                                valueField: 'id',
                                textField: 'name',
                                panelHeight:'auto'
                              " /></td>
                            <td>工作年数:</td>
                            <td><input class="easyui-textbox" name="recruitNumber"/></td>
                        <tr>
                            <td>薪资要求:</td>
                            <td><input class="easyui-combobox" name="recruitSalary.id" data-options="
                                 editable:false,
                                 url:'/dictionaryItem/getDictionaryItemByParentName.do?content='+'薪资要求',
                                 valueField: 'id',
                                 textField: 'name',
                                 panelHeight:'auto'
                                 " />
                            </td>
                            <td>聘用类型:</td>
                            <td><input class="easyui-combobox" name="engage.id"
                                       data-options="
                                 editable:false,
                                 url:'/dictionaryItem/getDictionaryItemByParentName.do?content=' + '聘用类型',
                                 valueField:'id',
                                 textField:'name',
                                 panelHeight:'auto'"/>
                            </td>
                        </tr>
                        <tr>
                            <td>应聘日期:</td>
                            <td><input class="easyui-datebox" name="employeeDate"/></td>
                            <td>相关技能:</td>
                            <td><input class="easyui-textbox" name="recruitRequired"/></td>
                        </tr>
                        <tr>
                            <td>备注:</td>
                            <td><input class="easyui-textbox" name="remark"/></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </div>

    <%--弹窗底部按钮--%>
    </div>
    <div id="bb">
        <a href="JavaScript:;" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
        <a href="JavaScript:;" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">关闭</a>
    </div>

</body>
</html>
